package com.yellowpage.wf.service;

import java.util.List;
import java.util.Map;

import com.yellowpage.white.common.PageRender;
import com.yellowpage.white.service.BaseService;

import com.yellowpage.wf.data.Worklist;

public interface WorklistService extends BaseService {  

    /* White generate Method */ 
    public Worklist getWorklist(Long id);
    public List<Worklist> getAllWorklist();
    public List<Map> queryWorklistByPage(Map queryMap, PageRender pageRender);
    public void saveWorklist(Worklist worklist);
	public void updateWorklist(Worklist worklist);
	public void delete(List deleteList);
	public List<Map> getTaskList(String userId , String status);
	public List<Map> getHistoryInfo(String instanceId);
	public List<Map> getSignedTaskList(String userId);
	
	public List<Map> getWorklistByUserName(String userName);
	
	public List<Map> getContextByNodeInstance(Long nodeInstanceId);
	public List<Map> getNodeContextByNodeInstance(Long nodeInstanceId);
	public List<Map> getAttachmentByNodeInstance(Long nodeInstanceId);
	public List<Map> getNodeAttachmentByNodeInstance(Long nodeInstanceId);

}
  

